package com.rpc.clients;

import com.rpc.proxys.ProxyForSocket;
import com.rpc.services.HelloWorld;

/**
 * @Auther: pengjf
 * @Date: 2018-08-06 16:53
 * @Description:
 */
public class TestMain {
    public static void main(String[] args) {
        HelloWorld hw=ProxyForSocket.getClientProxy(HelloWorld.class,"localhost",9000);
        System.out.println(hw.sayHello("good"));

    }
}
